home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / ppc-amigaos / include / clib / expansion_protos.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  2KB  |  49 lines

  1. #ifndef  CLIB_EXPANSION_PROTOS_H
  2. #define  CLIB_EXPANSION_PROTOS_H
  3.  
  4. /*
  5. **    $VER: expansion_protos.h 39.0 (31.10.91)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. /*--- functions in V33 or higher (Release 1.2) ---*/
  18. void AddConfigDev( struct ConfigDev *configDev );
  19. /*--- functions in V36 or higher (Release 2.0) ---*/
  20. BOOL AddBootNode( long bootPri, unsigned long flags,
  21.     struct DeviceNode *deviceNode, struct ConfigDev *configDev );
  22. /*--- functions in V33 or higher (Release 1.2) ---*/
  23. void AllocBoardMem( unsigned long slotSpec );
  24. struct ConfigDev *AllocConfigDev( void );
  25. APTR AllocExpansionMem( unsigned long numSlots, unsigned long slotAlign );
  26. void ConfigBoard( APTR board, struct ConfigDev *configDev );
  27. void ConfigChain( APTR baseAddr );
  28. struct ConfigDev *FindConfigDev( struct ConfigDev *oldConfigDev,
  29.     long manufacturer, long product );
  30. void FreeBoardMem( unsigned long startSlot, unsigned long slotSpec );
  31. void FreeConfigDev( struct ConfigDev *configDev );
  32. void FreeExpansionMem( unsigned long startSlot, unsigned long numSlots );
  33. UBYTE ReadExpansionByte( APTR board, unsigned long offset );
  34. void ReadExpansionRom( APTR board, struct ConfigDev *configDev );
  35. void RemConfigDev( struct ConfigDev *configDev );
  36. void WriteExpansionByte( APTR board, unsigned long offset,
  37.     unsigned long byte );
  38. void ObtainConfigBinding( void );
  39. void ReleaseConfigBinding( void );
  40. void SetCurrentBinding( struct CurrentBinding *currentBinding,
  41.     unsigned long bindingSize );
  42. ULONG GetCurrentBinding( struct CurrentBinding *currentBinding,
  43.     unsigned long bindingSize );
  44. struct DeviceNode *MakeDosNode( APTR parmPacket );
  45. BOOL AddDosNode( long bootPri, unsigned long flags,
  46.     struct DeviceNode *deviceNode );
  47. /*--- functions in V36 or higher (Release 2.0) ---*/
  48. #endif     /* CLIB_EXPANSION_PROTOS_H */
  49.